tools/hotplug: fix bug on xendomains using xl
authorFabio Fantoni <fabio.fantoni@m2r.biz>
Tue, 21 Jan 2014 13:51:08 +0000 (14:51 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 28 Jan 2014 11:18:30 +0000 (11:18 +0000)
commitd3b483f9776fbae19a2354a2a3c81536fcbdd37a
tree0491a173fb6ba3248153f81767610d7c0b581a11
parentb88641348817bb9039ad81259681064ec4bfdb09
tools/hotplug: fix bug on xendomains using xl

Make rdname function work with xl.

The rdname function not support json output of xl commands and this cause
problems using xl, for example the check if domUs are already running (because
they have been restored) on domUs autostart does not succeed and the domain is
created in any case, causing xl create to fail.

Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/init.d/xendomains